﻿using PSE.Deployment.SetupBase.Configuration;

namespace PSE.Deployment.ConfigurationManager.Controls
{
	/// <summary>
	/// Controle que instancia uma classe a ser vinculada com um dado do Registry
	/// </summary>
	public class RegistryKeyTreeViewItem : TreeViewItemBase
	{
		RegistryKey _registry = null;
		public RegistryKey Registry
		{
			get { return _registry; }
			set { _registry = value; }
		}

		public RegistryKeyTreeViewItem(RegistryKey registry, GroupTreeViewItem parentItem) : base(registry.Title, parentItem)
		{
			this.Registry = registry;
		}
	}
}